//
// Created by 1065246 on 2023/5/11.
//
#include <iostream>
#include "TemplateTeacher.h"
template<class NameType,class AgeType> TemplateTeacher<NameType,AgeType>::TemplateTeacher(NameType nameType, AgeType ageType)
{
    name=nameType;
    age=ageType;
}


template<class NameType,class AgeType> void TemplateTeacher<NameType,AgeType>::sayMyself()
{
    std::cout<<"name:"<< this->name<< std::endl;
    std::cout<<"age:"<< this->age<< std::endl;
}
